<!doctype html>
<script src="../../resources/ahem.js"></script>
<script src="resources/text-based-repaint.js"></script>
<div style="writing-mode: vertical-rl; font-family: Ahem; font-size: 20px;">
a<ruby id="outer">b<rt id="inner">c</rt></ruby>
</div>
<script>
onload = runRepaintAndPixelTest;
function repaintTest() {
    outer.style.color = "yellow";
    inner.style.color = "blue";
}
</script>
